window.onload = function() {
  var para = document.createElement("p");
  var info = "nodeName: ";
  info += para.nodeName;
  info += " nodeType ";
  info += para.nodeType;
  alert(info);
}
